import request from '@/utils/request'

// 查询追踪计划列表
export function listPlanProgress(query) {
  return request({
    url: '/reminders/PlanProgress/list',
    method: 'get',
    params: query
  })
}

// 查询追踪计划详细
export function getPlanProgress(id) {
  return request({
    url: '/reminders/PlanProgress/' + id,
    method: 'get'
  })
}

// 新增追踪计划
export function addPlanProgress(data) {
  return request({
    url: '/reminders/PlanProgress',
    method: 'post',
    data: data
  })
}

// 修改追踪计划
export function updatePlanProgress(data) {
  return request({
    url: '/reminders/PlanProgress',
    method: 'put',
    data: data
  })
}

// 删除追踪计划
export function delPlanProgress(id) {
  return request({
    url: '/reminders/PlanProgress/' + id,
    method: 'delete'
  })
}
